package com.chx.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/29
 * 出库单明细
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StockOutOrderDetails implements Serializable {
    private static final long serialVersionUID = 1L;

    //明细ID，主键，自增
    private Long detailId;

    //出库单ID，外键关联出库单表
    private Long orderId;

    //商品ID，外键关联商品表
    private Long productId;

    //销售价格
    private Double salePrice;

    //出库数量
    private Long quantity;

    //小计金额
    private Double subtotal;
}
